<h3>这是一个员工列表</h3>
<table border="1" width="100%">
    <thead>
        <td>编号</td>
        <td>姓名</td>
        <td>邮箱</td>
        <td>性别</td>
        <td>政治面貌</td>
        <td>年龄</td>
        <td>生日</td>
        <td>操作</td>
    </thead>
    <tbody>
        <tr *ngFor="let emp of empList; index as i">
            <td>{{emp.empId}}</td>
            <td>{{emp.empName}}</td>
            <td>{{emp.email}}</td>
            <td>{{emp.empId}}</td>
            <td>{{emp.empId}}</td>
            <td>{{emp.empId}}</td>
            <td>{{emp.empId}}</td>
            <!-- <td><button (click)="doDelete(i)">删除</button></td> -->
        </tr>
        <tr *ngIf="empList.length == 0">
            <td colspan="8">没有数据</td>
        </tr>
    </tbody>
</table>
